<script type="text/javascript" src="${base}/scripts/page/gspzContent.js"></script>
<form id="gspzForm" method="post" style="height: 100%;" class="easyui-tabs" fit="true">
    <input name="gspz.id" type="hidden" value="${(gspz.id)!''}"/>

    <div title="公式信息">
        <table style="width:100%" class="tb tab-t">
            <col width="14%"/>
            <col width="33%"/>
            <col width="17.5%"/>
            <col width="32.5%"/>
            <tr style="height: 20px;"></tr>
            <tr>
                <th style="color:#f45212;font-weight:bold;">名&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;称：</th>
                <td>
                    <input name="gspz.mc" class="easyui-validatebox input-text" type="text"
                           data-options="required:true,validType:['length[0,20]']" missingMessage="公式名称不能为空！"
                           validType="remote['${base}/base/gspz/ajax_validate?gspzId=${(gspz.id)!}',{'validateField':'mc'},'此名称已被使用']"
                           value="${(gspz.mc)!}"/>
                </td>
                <th style="color:#f45212;font-weight:bold;">公式截止日期：</th>
                <td><input style="width:180px" name="gspz.jzrq" class="easyui-datebox input-text" required="true"
                           value="${(gspz.jzrq?date)!}"/></td>
            </tr>
            <tr style="height: 20px;"></tr>
            <tr>
                <th>设&nbsp;置&nbsp;&nbsp;人：</th>
                <td>
                    <span>${(gspz.szr.xm)!(curYg.xm)}</span>
                </td>
            </tr>
        </table>
    </div>
    <div title="按吨收取">
        <div id="gspz_adsq_toolbar">
            <div class="PTools">
                <ul class="niu">
                    <li><a href="javascript:void(0);" id="gspz_adsq_tj" plain="true">添加</a></li>
                    <li><a href="javascript:void(0);" id="gspz_adsq_sc" class="del" plain="true">删除</a></li>
                </ul>
            </div>
        </div>
        <table id="gspz_adsq_table"/>
    </div>
    <div title="按天收取">
        <div id="gspz_atsq_toolbar">
            <div class="PTools">
                <ul class="niu">
                    <li><a href="javascript:void(0);" id="gspz_atsq_tj" plain="true">添加</a></li>
                    <li><a href="javascript:void(0);" id="gspz_atsq_sc" class="del" plain="true">删除</a></li>
                    <li>起始日期：是否投资付款日期&nbsp;&nbsp;&nbsp;
                        <input type="checkbox" id="gspz_sfkhfkrq" name="gspz.sfkhfkrq" value="true"
                               <#if gspz?? && gspz.sfkhfkrq??&&gspz.sfkhfkrq>checked</#if>/>
                    </li>
                    <li><input class="easyui-datebox" name="gspz.khfkrq" value="${(gspz.khfkrq?date)!}"></li>
                </ul>
            </div>
        </div>
        <table id="gspz_atsq_table"/>
    </div>
</form>

